virtual void init(int np,picture **pic,void *data)=0
Parameter | Type | Description |
---|---|---|
np | int | number of pictures in pic array |
pic | picture ** | picture array |
None
This virtual function initializes the texture manager with a picture array. All pictures in the array will be loaded to the 3D hardware. For adding new pictures, use the add_picture function, for updating any picture pixels, use the update_picture and update_sub_picture member functions.